package cn.signalpha.modules.shop.vo;

import cn.signalpha.modules.shop.entity.OrderRefund;
import cn.signalpha.modules.shop.entity.OrderRefundLog;
import cn.signalpha.modules.shop.entity.SellerAddress;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 视图实体类
 *
 * @author signalpha
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "OrderRefundVO对象", description = "订单退换货")
public class OrderRefundVO extends OrderRefund {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户昵称")
	private String userNickName;
	@ApiModelProperty(value = "用户头像")
	private String userAvatar;
	@ApiModelProperty(value = "用户手机")
	private String userMobile;

	@ApiModelProperty(value = "商户名称")
	private String sellerName;
	@ApiModelProperty(value = "商户logo")
	private String sellerLogo;

	@TableField(exist = false)
	@ApiModelProperty(value = " 商品详情")
	private OrderGoodsVO goods;

	@ApiModelProperty(value = "售后进度")
	private List<OrderRefundLog> refundLogList;

	@ApiModelProperty(value = " 售后地址")
	private SellerAddress refundAddr;

}
